Returns distinct elements from a parallel sequence by using the
default equality comparer to compare values.
Namespace:
System.Linq
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function Distinct(Of TSource) ( _
source As ParallelQuery(Of TSource) _
) As ParallelQuery(Of TSource) |
Type Parameters
- TSource
- The type of the elements of source.
Return Value
A sequence that contains distinct elements from the source sequence.
Exceptions
Exception | Condition |
---|
System..::.ArgumentNullException |
source is a null reference (Nothing in Visual Basic).
|
See Also